package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ShemaCharacterSetSpecification {

    private int beginIndex;
    private int endIndex;
    private CharacterSetName characterSetSpecification;

    public ShemaCharacterSetSpecification(int beginIndex,
                                          CharacterSetName characterSetSpecification) {
        this.beginIndex = beginIndex;
        this.endIndex = characterSetSpecification.getEndIndex();
        this.characterSetSpecification = characterSetSpecification;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public CharacterSetName getCharacterSetSpecification() {
        return characterSetSpecification;
    }

}
